//
//  HMTwoCellOneLineCell.m
//  支付宝
//
//  Created by GD on 16/9/9.
//  Copyright © 2016年 HM. All rights reserved.
//

#import "HMTwoCellOneLineCell.h"
#import <UIImageView+WebCache.h>


@interface HMTwoCellOneLineCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;

@property (weak, nonatomic) IBOutlet UILabel *MainTitleLabel;

@property (weak, nonatomic) IBOutlet UILabel *subTitleLabel;

@end

@implementation HMTwoCellOneLineCell

-(void)awakeFromNib{
    self.iconView.layer.cornerRadius = 5;
    
    self.iconView.clipsToBounds = YES;
}

-(void)setModel:(ZFBMineOptionModel *)model{
    self.MainTitleLabel.text = model.main_title;
    self.subTitleLabel.text = model.sub_title;
    
    //图片
    [self.iconView sd_setImageWithURL:[NSURL URLWithString:model.img_url]];
}

@end
